package Homeworks.HOMEWORK0223;

public class Homework0223_5 {
    public static void main(String[] args){
        double MONEY=2.5;
        int DAY=1;
        while(MONEY<100){
            if(DAY%5==0){
                MONEY-=6;
            }else{
                MONEY+=2.5;
            }
            DAY++;
        }
        System.out.println("用时"+DAY+"天");
    }
}
